Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Update offsets.go to support macOS 14.4.1#44

Closed
lokesh-tr wants to merge 2 commits intobeeper:mainfrom
lokesh-tr:main
Closed

Update offsets.go to support macOS 14.4.1#44
lokesh-tr wants to merge 2 commits intobeeper:mainfrom
lokesh-tr:main

Conversation

@lokesh-tr
Copy link
Copy Markdown

It was unable to find offsets in my Mac. so I updated it to support my Mac.

>>> ./mac-registration-provider
2024/04/07 13:42:25 Starting mac-registration-provider 31dc297a
2024/04/07 13:42:25 Loading identityservicesd
2024/04/07 13:42:25 No offsets found for 14.4.1/23E224/amd64 (hash: b82c5c6c9010a42cb64397e3760dd31144cbd471126111de9bb27fa3d2d2639a)
>>> python find_fat_binary_offsets.py /System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd 
-= Universal Binary Sections =-
Architecture 0 (x86_64):
  CPU Type: 16777223 (0x1000007)
  CPU Subtype: 3 (0x3)
  CPU Subtype Capability: 0 (0x0)
  Offset: 0x4000 (Valid Mach-O Header: Yes)
  Size: 8880384
  Align: 14
Architecture 1 (arm64e):
  CPU Type: 16777228 (0x100000c)
  CPU Subtype: 2 (0x2)
  CPU Subtype Capability: 128 (0x80)
  Offset: 0x880000 (Valid Mach-O Header: Yes)
  Size: 9865136
  Align: 14

-= Found Symbol Offsets =-
Offset of _IDSProtoKeyTransparencyTrustedServiceReadFrom in architecture x86_64: 0x0d6715
Offset of _IDSProtoKeyTransparencyTrustedServiceReadFrom in architecture arm64e: 0x0c0b84

-= Found Hex Offsets (with pure python fixed sequence search + regex) =-
Architecture 0 (x86_64):
  IDSProtoKeyTransparencyTrustedServiceReadFrom: 0xd6715
  NACInitAddress: 0x557cd0
  NACKeyEstablishmentAddress: 0x537d10
  NACSignAddress: 0x54b000
Architecture 1 (arm64e):
  IDSProtoKeyTransparencyTrustedServiceReadFrom: 0xc0b84; 0x2f5d0c; 0x322dac; 0x33a660
  NACInitAddress: 0x4c2468
  NACKeyEstablishmentAddress: 0x4afccc
  NACSignAddress: 0x489ed8

@0xdevalias
Copy link
Copy Markdown
Contributor

@lokesh-tr
Copy link
Copy Markdown
Author

Oh, didn't check that out. :)

@cchan cchan mentioned this pull request Jul 3, 2024
@lokesh-tr lokesh-tr closed this Oct 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants